<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>A*</title>
    <style>
        input{
            width: 140px;
        }
        .li {
            width: 30px;
            height: 30px;
            border: 1px black solid;
        }
        .ul{
            display: flex;
        }
        .table{
            display: flex;
            flex-direction:column;
            align-items: center;
        }
        .map {
           margin-top: 30px;
           width: 100%;
        }
        .body{
            
        }
        .b{
            background: cyan;
        }
        .e{
            background: chartreuse;
        }
        .w{
            background: darkgrey;
        }
        .r {
            background: red;
        }
    </style>
</head>
<body>
    <div class="body">
        <div class="setting">
            <span>地图高度:</span>
            <input class="x " type="number" placeholder="请输入地图高度" min="3" max="20">
            <span>地图宽度:</span>
            <input class="y" type="number" placeholder="请输入地图宽度"  min="3" max="20">
            <button class="createMap">生成地图</button>
            <button class="obstacle">设置障碍物</button>
            <button class="begin">设置起点</button>
            <button class="end">设置终点</button>
            <button class="play">搜索路径</button>
        </div>
        <div class="map">
        </div>
    </div>
</body>
<script src="./surface.js"></script>
<script src="./a.js"></script>
</html>